package com.jinmei.remote.client;

import java.util.Map;

import com.jinmei.remote.request.BaseClientRequest;
import com.jinmei.remote.response.JSONResponse;

public interface JHttpClient {

    public <T extends JSONResponse> T execute(
        BaseClientRequest request,
        Map<String, String> headers,
        String requestMethod,
        Class<T> responseClass)
        throws Exception;
    
}
